package com.jrx.anytxn.param.mapper.ext;

import com.jrx.anytxn.param.entity.GaProductSummaryInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: anytxn-cf-accounting
 * @description:
 * @author: xiaoyu.jing
 * @date: 2019-12-07 15:25
 **/
public interface ExtGaProductSummaryInfoMapper {
    int batchInsert(List<GaProductSummaryInfo> infoList);

    List<GaProductSummaryInfo> selectAllByPageAndTenId(@Param("tenantId") String tenantId,@Param("productId") String productId, @Param("orgId")String orgId , @Param("beginDate")String beginDate, @Param("endDate") String endDate,@Param("pageCount") Integer pageCount,@Param("pageSize") Integer pageSize);

    int selectCount(@Param("tenantId") String tenantId,@Param("productId") String productId, @Param("orgId")String orgId , @Param("beginDate")String beginDate, @Param("endDate") String endDate);
}
